# Template file for 'spaceship-prompt'
pkgname=spaceship-prompt
version=4.14.0
revision=1
wrksrc="${pkgname}-${version}"
depends="zsh>=5.2"
short_desc="Zsh prompt for Astronauts"
maintainer="privatewright <privateercp@protonmail.com>"
license="MIT"
homepage="https://github.com/spaceship-prompt/spaceship-prompt"
distfiles="${homepage}/archive/v${version}.tar.gz>${pkgname}-${version}.${revision}.tar.gz"
checksum=6b53d7b5f79c6d9d48676c0d0eb3ec724300a195b5f151dfad5f3d1ff41af463

do_install() {
	vmkdir usr/share/zsh/plugins/${pkgname}
	vcopy docs usr/share/zsh/plugins/${pkgname}/
	vcopy lib usr/share/zsh/plugins/${pkgname}/
	vcopy scripts usr/share/zsh/plugins/${pkgname}/
	vcopy sections usr/share/zsh/plugins/${pkgname}/
	vinstall spaceship.zsh 644 usr/share/zsh/plugins/${pkgname}/
	vdoc README.md
	vlicense LICENSE.md
}
